home *** CD-ROM | disk | FTP | other *** search
- 150 gosub 500
- 170 print h$"page 00 press 'q' to quit."
- 172 print""spc(16)"crsr up - page up"
- 174 print""spc(16)"crsr down - page down"
- 180 print h$""d$"address"
- 190 gosub 200:goto 320
- 200 print h$d$d$d$
- 210 for i=0 to 243 step 12
- 220 print right$(" "+mid$(str$(256*p+i),2),5)+chr$(183);
- 225 if i<240 then print
- 230 if i=60 or i=121 or i=182 then i=i+1
- 240 if peek(197)<>64 then i=1e3
- 250 next:print h$
- 260 if i<1e3 then poke 198,0
- 270 return
- 280 if peek(197)=64 then gosub 200
- 290 get k$:if k$="" goto 290
- 292 ifk$="q"then6000
- 300 if k$>="0" and k$<="9" and len(n$)<2 then n$=n$+k$
- 310 n=val(n$):if len(n$)=2 then n$="":if n<64 then p=n
- 320 if k$=u$then p=p+1:if p>63 then p=0
- 330 if k$=d$then p=p-1:if p<0 then p=63
- 340 poke 2040,p*4:rem move sprites
- 350 poke 2041,p*4+1
- 360 poke 2042,p*4+2
- 370 poke 2043,p*4+3
- 380 p$=right$("0"+mid$(str$(p),2),2)
- 390 print h$tab(5)p$
- 400 print h$d$d$d$d$tab(15);
- 410 if p=peek(46)then print "start variables"256*peek(46)+peek(45):goto 280
- 420 if p=peek(48)then print "start arrays "256*peek(48)+peek(47):goto 280
- 430 if p=peek(50)then print "end of arrays "256*peek(50)+peek(49):goto 280
- 440 if p=peek(52)then print "string storage "256*peek(52)+peek(51):goto 280
- 450 if p=1 then print "stack area ":goto 280
- 460 if p<4 then print "basic work area ":goto 280
- 470 if p<8 then print "screen memory ":goto 280
- 480 if p<16 or p>31 then print "basic program area ":goto 280
- 490 if p<32 then print "character rom image ":goto 280
- 500 rem border and background black
- 510 poke 53280,0:poke 53281,0:poke 646,7
- 520 c$=chr$(147):print c$;
- 530 d$=chr$(17):u$=chr$(145):h$=chr$(19):rv$=chr$(18)
- 540 for i=1 to 24:cd$=cd$+d$:next
- 550 v=53248:rem video chip start
- 560 for i=0 to 3
- 570 poke 2040+i,i:rem data pointers
- 580 poke v+39+i,1:rem color white
- 590 poke v+2*i,80:rem x coords
- 600 poke v+2*i+1,82+i*42:rem y coords
- 610 next
- 620 poke v+23,15:rem expand x
- 630 poke v+29,15:rem expand y
- 640 poke v+21,15:rem enable sprites
- 650 dim a(50)
- 660 return
- 6000 rem return
- 6005 open15,8,15,"r0:hello connect=hello connect":input#15,er:close15
- 6006 ifer<>63thenend
- 6010 print"[147]returning to loadstar...":pokev+21,0:load"hello connect",8
-